<?php
use yii\helpers\Url;
?>

<div class="weui-panel__bd" >
    <?php foreach ($orders as $v){?>
    <div style="position: relative" class="weui-media-box weui-media-box_appmsg">
        <div class="weui-media-box__hd">
            <img class="weui-media-box__thumb" src="<?=Yii::$app->params['img'].$v['img']?>">
        </div>
        <div class="weui-media-box__bd">
            <h4 class="weui-media-box__title"><?=$v['title']?></h4>
            <p class="weui-media-box__desc">
                订单号：<?=$v['orderId']?>&nbsp;&nbsp;&nbsp;&nbsp; 积分：<img style="width: 17px;display: inline;position: relative;top:2px" src="/assets/img/<?=$v['type']==1?"blue":"green"?>.png"><?=$v['price']?> <br/>
               兑换时间：<?=date("Y-m-d H:i:s")?>
            </p>

        </div>

    </div>
    <?php }?>
</div>
